﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ninject;
using Ninject.Activation;
using Ninject.Extensions.Logging;

namespace Jarvis.Server.Test
{
    class NullLoggerFactory : ILoggerFactory
    {
        #region Implementation of IDisposable

        public void Dispose()
        {
           
        }

        #endregion

        #region Implementation of INinjectComponent

        public INinjectSettings Settings { get; set; }

        #endregion

        #region Implementation of ILoggerFactory

        public ILogger GetLogger(Type type)
        {
            return new NullLogger();
        }

        public ILogger GetLogger(IContext context)
        {
         return  new NullLogger();
        }

        public ILogger GetCurrentClassLogger()
        {
            return new NullLogger();
        }

        #endregion
    }
}
